#define _CRT_SECURE_NO_WARNINGS
#include "stack.h"
#include"queue.h"
int main()
{
	mh::stack<int> s;
	mh::queue<int> q;

	s.push(1);
	s.push(2);
	s.push(3);
	s.push(4);
	s.push(5);
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	q.push(5);

	while (!s.empty())
	{
		cout << s.top() << " ";
		s.pop();
	}
	cout << endl;
	while (!q.empty())
	{
		cout << q.front() << " ";
		q.pop();
	}
	cout << endl;
	return 0;
}
